//
//  YZEDoctorDetailViewHeadCell.m
//  yilutongxing
//
//  Created by T&J on 2017/6/23.
//  Copyright © 2017年 YZE. All rights reserved.
//

#import "YZEDoctorDetailViewHeadCell.h"

@implementation YZEDoctorDetailViewHeadCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    UIImageView *bg = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"医生详情背景"]];
    [self.contentView insertSubview:bg atIndex:0];
    
    self.avatarView.layer.cornerRadius = self.avatarView.width/2;
    self.avatarView.layer.masksToBounds = self.avatarView.width/2;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
